home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / NPP.PAK / NP.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  54 lines

  1. // np.h : main header file for the NP application
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. //
  13.  
  14. #ifndef __AFXWIN_H__
  15.     #error include 'stdafx.h' before including this file for PCH
  16. #endif
  17.  
  18. #include "resource.h"       // main symbols
  19.  
  20. // application defines
  21. #define COMBO_HEIGHT 100    // width of edit control for combobox
  22. #define COMBO_WIDTH  160    // drop down height
  23. #define HISTORY_COUNT 10    // number of entries for the last search selections
  24. #define TIMER_ID 2            // timer ID for clock on status bar
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CNotepadApp:
  28. // See np.cpp for the implementation of this class
  29. //
  30.  
  31. class CNotepadApp : public CWinApp
  32. {
  33. public:
  34.     CNotepadApp();
  35.  
  36. // Overrides
  37.     // ClassWizard generated virtual function overrides
  38.     //{{AFX_VIRTUAL(CNotepadApp)
  39.     public:
  40.     virtual BOOL InitInstance();
  41.     virtual BOOL OnIdle(LONG lCount);
  42.     //}}AFX_VIRTUAL
  43.  
  44. // Implementation
  45.  
  46.     //{{AFX_MSG(CNotepadApp)
  47.     afx_msg void OnAppAbout();
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. };
  51.  
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.